@import '@/app/styles/variables';

.tag {
  font-size: 20px;
  font-style: normal;
  font-weight: 100;
  line-height: 22px;
  width: fit-content;
  border-radius: 100px;
  user-select: none;
  display: flex;
}

.sale {
  box-sizing: border-box;
  width: 59px;
  height: 28px;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  gap: 6px;
  border-radius: 100px;
  background-color: #FE753E;
}

.primary {
  display: inline-flex;
  width: 52px;
  height: 36px;
  padding: 8px 12px 6px 12px;
  justify-content: center;
  align-items: center;
  gap: 6px;
  background-color: #fff;

  &.positive {
    color: #1bc47d;
  }

  &.ok {
    color: #e9b82f;
  }

  &.negative {
    color: #fe753e;
  }
}

.isCard {
  width: 48px;
  height: 32px;
}

.secondary {
  display: flex;
  width: 60px;
  height: 40px;
  padding: 11px 16px 11px 16px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: var(--simple-morning, #fff);

  &.positive {
    background-color: #1bc47d;
  }

  &.ok {
    background-color: #e9b82f;
  }

  &.negative {
    background-color: #fe753e;
  }
}

@include media(sm) {
  .tag {
    display: flex;
    width: 39px;
    height: 24px;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    font-size: 16px;
    font-style: normal;
    font-weight: 100;
    line-height: 14px;
    border-radius: 100px;
  }

  .sale {
    width: 51px;
    height: 24px;
    padding: 6px 8px;
  }

  .secondary {
    width: 48px;
    height: 32px;
    padding: 6px 8px 4px 8px;
  }

  .isCard {
    width: 39px;
    height: 24px;
  }
}

@include media(xs) {
  .tag {
    padding: 6px 8px 4px 8px;
    font-size: 16px;
    font-style: normal;
    font-weight: 100;
    line-height: 14px;
  }
}